package tr.edu.metu.is550.isell.rest.jersey.provider.mapper;

import tr.edu.metu.is550.isell.domain.AlreadyExistsException;

import javax.ws.rs.core.Response;
import javax.ws.rs.ext.Provider;

@Provider
public class AlreadyExistsExceptionMapper extends AbstractApplicationExceptionMapper<AlreadyExistsException> {
    @Override
    Response.Status responseStatus() {
        return Response.Status.CONFLICT;
    }
}
